package com.ruoyi.order.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 栏目管理对象 shop_commodity
 * 
 * @author ruoyi
 * @date 2021-12-06
 */
public class ShopCommoditye extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 栏目ID */
    private Long id;

    /** 栏目名称 */
    @Excel(name = "栏目名称")
    private String tradeName;

    /** 栏目图片 */
    @Excel(name = "栏目图片")
    private String tradeImage;

    /** 状态 */
    @Excel(name = "状态")
    private Integer shopCid;

    /** 店铺 **/
    @Excel(name = "店铺ID")
    private Long teaShopName;

    /** 店铺连表 **/
//    private TeaShop teaShop;
//
//    public TeaShop getTeaShop() {
//        return teaShop;
//    }
//
//    public void setTeaShop(TeaShop teaShop) {
//        this.teaShop = teaShop;
//    }

    public Long getTeaShopName() {
        return teaShopName;
    }

    public void setTeaShopName(Long teaShopName) {
        this.teaShopName = teaShopName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTradeName(String tradeName) 
    {
        this.tradeName = tradeName;
    }

    public String getTradeName() 
    {
        return tradeName;
    }
    public void setTradeImage(String tradeImage) 
    {
        this.tradeImage = tradeImage;
    }

    public String getTradeImage() 
    {
        return tradeImage;
    }
    public void setShopCid(Integer shopCid) 
    {
        this.shopCid = shopCid;
    }

    public Integer getShopCid() 
    {
        return shopCid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tradeName", getTradeName())
            .append("tradeImage", getTradeImage())
            .append("shopCid", getShopCid())
            .append("teaShopName", getTeaShopName())
            .toString();
    }
}
